package ppjava12v1.chess.dao;

import ppjava12v1.chess.entities.games.Game;
import ppjava12v1.chess.entities.games.Move;
import ppjava12v1.chess.enums.Side;

/**
 * Created by Reyst on 21.09.2014.
 */
public interface GameDAO {

    Game getGameById(long id);
    void saveGame(Game game);

    Move getMove(Game game, int moveNumber, Side side);
    void saveMove(Move move);

}
